package com.zhuxulin.midi.event.meta;

/**
 * FF 06 event
 * @author ZhuXulin
 *
 */
public class Marker extends TextualMetaEvent {

	public Marker() {
		this("");
	}
	
	public Marker(String marker) {
		this(0, 0, marker);
	}
	
	public Marker(long tick, long delta, String marker) {
		super(tick, delta, MetaEvent.MARKER, marker);
	}
	
	public void setMarkerName(String name) {
		setText(name);
	}
	public String getMarkerName() {
		return getText();
	}
}
